package com.lanyam.travel.base.entity;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;

@TableName("travel_line")
public class TravelLine extends Product{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 *	 旅游线路图片路径
	 */
	@JsonProperty(value="img")
	private String img;
	
	/**
	 * 旅游线路需要的天数
	 */
	@JsonProperty(value="days")
	private Integer days;
	/**
	 * 起始地点
	 */
	@JsonProperty(value="startLocation")
	@TableField("start_location")
	private String startLocation;
	/**
	 * 结束地点
	 */
	@JsonProperty(value="endLocation")
	@TableField("end_location")
	private String endLocation;
	/**
	 * 是否使用中（0为未使用，1为正在使用)
	 */
	@JsonProperty(value="status")
	@TableField("status")
	private Integer status;
	
	/**
	 * 是否使用中（0为未使用，1为正在使用)
	 */
	@JsonProperty(value="supplierName")
	@TableField(exist = false)
	private String supplierName;
	
	/**
	 * 票种的id数组
	 */
	@JsonProperty(value="ticketTypes")
	@TableField(exist = false)
	private List<ProductTicket> ticketTypes;
	
	
	public String getSupplierName() {
		return supplierName;
	}
	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}
	public List<ProductTicket> getTicketTypes() {
		return ticketTypes;
	}
	public void setTicketTypes(List<ProductTicket> ticketTypes) {
		this.ticketTypes = ticketTypes;
	}
	public String getStartLocation() {
		return startLocation;
	}
	public void setStartLocation(String startLocation) {
		this.startLocation = startLocation;
	}
	public String getEndLocation() {
		return endLocation;
	}
	public void setEndLocation(String endLocation) {
		this.endLocation = endLocation;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public int getDays() {
		return days;
	}
	public void setDays(int days) {
		this.days = days;
	}
	
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	
}
